import sequelize from "../../db/dbConnext";
import { option } from "../../db/commomConfig";
import { DataTypes } from "sequelize";

import PosterSetEntity from "../../../entities/HomePage/PosterSetEntity";
export type IPosterSet = Omit<PosterSetEntity, "validateThis">;

const PosterSetModel = sequelize.define<any, IPosterSet>(
  "posterSet",
  {
  link: {
      type: DataTypes.STRING,
      allowNull: true,
    },imgUrl: {
      type: DataTypes.STRING,
      allowNull: true,
    }
  },
  option
);
export default PosterSetModel;
